using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Equipment :MonoBehaviour
{
    private Slot[] slots;
    private void Awake()
    {
       slots= transform.GetComponentsInChildren<Slot>();
    }
    private void Update()
    {
        foreach (Slot item in slots)
        {
            if(item.transform.childCount==0)
            {
                return;
            }
        }
        GameFacade.Instance.uIset.ButtonAll.gameObject.SetActive(true);
     
    }
}
